package com.second.app.designpattern.rule.impl.kaibi.bad;

/**
 * @Author GYZ
 * @Date 2023/7/27
 * <pre>
 *
 * </pre>
 */
public class Main {

    public static void main(String[] args) {

        GraphicEditor   graphicEditor = new GraphicEditor();

        graphicEditor.drawShape(new Rectangle());

        graphicEditor.drawShape(new Circle());

        graphicEditor.drawShape(new Triangle());
    }
}
